<template>
	<view class="job-box">
		<view class="acea-row row-middle row-between mb-20">
			<view class="flex-1 fs-40 fw-bold line1">中级前端开发工程师</view>
			<view class="c-green fs-30">5000-7000元</view>
		</view>
		<view class="mb-20 fs-30">企业名称</view>
		<view class="tag">
			<view class="tag-item">2人</view>
			<view class="tag-item">硕士2</view>
		</view>
		<view class="line"></view>
		<view class="acea-row row-middle row-between mt-20">
			<view class="c-gray">11月12日 14:37 由你发起的沟通</view>
			<view class="acea-row row-center-wrapper">
				<van-icon name="star" size="20" color="#07C160" />收藏职位
				<!-- <van-icon @click="updateCollect" name="star-o" size="20" v-else /> -->
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {


			};
		},
		onLoad() {

		}
	}
</script>

<style lang="scss" scoped>
	.line {
		position: relative;

		&::before {
			content: '';
			position: absolute;
			height: 1rpx;
			width: 100%;
			background-color: #e5e5e5;
		}
	}

	.job-box {
		display: flex;
		flex-direction: column;
		background-color: #fff;
		padding: 20rpx;
		border-radius: 10rpx;

		.tag {
			display: flex;
			flex-wrap: wrap;
			gap: 10rpx;
			margin-bottom: 20rpx;

			.tag-item {
				padding: 8rpx;
				background-color: #F5F5F5;
				border-radius: 6rpx;
			}
		}
	}
</style>